package com.dingding.javabasic.线程池.工作原理;

/**
 * @author liugongding
 * @description:
 * @date 2022/9/13 11:38 PM
 */
public class Solution {

    public static void main(String[] args) {
        int a[][] = new int[5][5];
        int i,j;
        int k=1;
        for (i=0; i<5; i++) {
            for (j=0; j<5; j++) {
                if ((i+j)<4) {
                    a[i][j] = 0;
                } else {
                    a[i][j] = k++;
                }
            }
        }

        for (i=0; i<5; i++) {
            for (j=0; j<5; j++) {
                if (a[i][j] < 10) {
                    System.out.println(a[i][j]+"  ");
                } else {
                    System.out.println(a[i][j]+"  ");
                }
            }
            System.out.println();
        }
    }
}
